package com.atguigu.java14;

public record Student(String name, int age) {
    public void study() {
        System.out.println("study");
    }

}
